<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="./vue.js"></script>
	</head>
	<body>
		<div id="app">
			<img :src="imgurl" ><!-- 元素绑定 v-bind 语法糖:-->
			<a v-bind:href="aurl">跳转</a>
		</div>
		<script type="text/javascript">
			var vm = new Vue({
				el:"#app",
				data:{
					imgurl:'https://cn.vuejs.org/images/logo.png',
					aurl:'http://www.runoob.com'
				}
			})
		</script>
	</body>
</html>
